﻿using System;
using System.Text;

namespace MyFastDataSourceBind
{
    /// <summary>
    /// 系统字典项目
    /// </summary>
    /// <remarks>编制 袁永福</remarks>
    [Serializable()]
    public class XSystemDictionaryItem
    {
        /// <summary>
        /// 初始化对象
        /// </summary>
        /// <param name="cateGory">类别</param>
        /// <param name="name">代码名称</param>
        /// <param name="v">代码值</param>
        public XSystemDictionaryItem(string cateGory, string name, string v)
        {
            strCategory = cateGory;
            strName = name;
            strValue = v;
        }

        private string strCategory = null;
        /// <summary>
        /// 系统字典类别
        /// </summary>
        public string Category
        {
            get { return strCategory; }
        }

        private string strName = null;
        /// <summary>
        /// 项目名称
        /// </summary>
        public string Name
        {
            get { return strName; }
            set { strName = value; }
        }

        private string strValue = null;
        /// <summary>
        /// 项目值
        /// </summary>
        public string Value
        {
            get { return strValue; }
            set { strValue = value; }
        }
    }//public class XSystemDictionaryItem
}